package cn.school.educational.service;

import cn.school.common.api.CommonResult;
import cn.school.educational.entity.Subject;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;
import java.io.IOException;
import java.io.InputStream;

/**
 * 科目service接口
 * */
public interface SubjectService extends IService<Subject> {
    List<Subject> listByClassId(Map<String, Object> para);
    CommonResult<String> importSubjectExcel(InputStream inputStream) throws IOException;

    Subject getSubjectById(long id);
}
